<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登陆</title>
</head>
<body>
  <form method="post" action="login.action">
      用户名:<input type="text" name="uname"><br>
      密码:<input type="password" name="pwd"><br>
      <img src="code.action" width="105" height="35"><br>
      验证码:<input type="text" name="loginCode"><br>
      <input type="submit" value="登陆">
  </form>


<hr>
  <b>注册</b>
  <form method="post" action="reg.action">
      用户名:<input type="text" name="uname"><br>
      密码:<input type="password" name="pwd"><br>
      性别:<input type="radio" name="sex" value="男" checked>男
          <input type="radio" name="sex" value="女" checked>女 <br>
      兴趣爱好:<input type="checkbox" name="favours" value="唱">唱
             <input type="checkbox" name="favours" value="跳">跳
             <input type="checkbox" name="favours" value="rap">rap
             <input type="checkbox" name="favours" value="篮球">篮球
      <br>
      户籍:<select name="hometown">
            <option value="江苏">江苏</option>
      <option value="湖南">湖南</option>
  </select>
      宣言:<textarea name="comments" cols="80" rows="5"></textarea><br>
      <img src="code.action" width="105" height="35"><br>
      验证码:<input type="text" name="loginCode"><br>
      <input type="submit" value="注册">
  </form>
    <a href="cust.action?op=showAll">显示所有用户</a>
    <a href="cust.action?op=showOne">显示一个用户</a>
</body>
</html>